//
//  NetWorking.h
//  HuiPinZhiJia
//
//  Created by MS on 16/9/6.
//  Copyright © 2016年 MS. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NetWorking : NSObject
@property (nonatomic,copy) NSString *accountInfo;
//登录注册找回密码
@property(nonatomic,copy) NSString * login;
@property(nonatomic,copy) NSString * reigster;
@property(nonatomic,copy) NSString * verificationCodeToEmail;
@property(nonatomic,copy) NSString * resetPassword;
@property(nonatomic,copy) NSString * verificationCodeToPhone;
@property(nonatomic,copy) NSString * buy;
@property(nonatomic,copy) NSString * verificationType;   //phone or email

//关注店铺
@property(nonatomic,copy) NSString * attentionGoods;
@property(nonatomic,copy) NSString * attentionShops;
@property(nonatomic,copy) NSString * cancelAttentionGoods;
@property(nonatomic,copy) NSString * findSimilarShops;

//店铺详情
@property(nonatomic,copy) NSString * shopsHeadInfo;
@property(nonatomic,copy) NSString * shopsHomeInfo;
@property(nonatomic,copy) NSString * shopsAllGoods;
@property(nonatomic,copy) NSString * shopsNewGoods;
@property(nonatomic,copy) NSString * shopsActivity;
@property(nonatomic,copy) NSString * followShops;

//浏览记录
@property(nonatomic,copy) NSString * browsingRecord;

//修改支付状态
@property (nonatomic, copy) NSString * payStatus;

//订单模块
@property(nonatomic,copy) NSString * allOrder;
@property(nonatomic,copy) NSString * waitPayOrder;
@property(nonatomic,copy) NSString * waitConsignment;
@property(nonatomic,copy) NSString * waitEstimate;
@property(nonatomic,copy) NSString * refund;
@property(nonatomic, copy) NSString * waitReceiving;
@property(nonatomic,copy) NSString * logistics;
@property(nonatomic,copy) NSString * publishEstimate;
@property (nonatomic, copy) NSString * freight;
@property (nonatomic, copy) NSString * orderPreview;
@property (nonatomic, copy) NSString * submitOrder;
@property (nonatomic,copy) NSString *buyNowCreate;
@property (nonatomic, copy) NSString * orderDetails;
@property (nonatomic, copy) NSString * deleteOrder;
@property (nonatomic, copy) NSString * notify_urlByorder;
@property (nonatomic, copy) NSString * confirmReceiving;
@property (nonatomic, copy) NSString * modifyPayStatus;

//积分 余额
@property(nonatomic,copy) NSString * allIntegral;
@property(nonatomic,copy) NSString * incomeIntegral;
@property(nonatomic,copy) NSString * payOutIntegral;
@property(nonatomic,copy) NSString * remainingBalance;
@property(nonatomic,copy) NSString * payOutRemainingBalance;
@property(nonatomic,copy) NSString * incomeRemainingBalance;

//个人信息模块
@property(nonatomic,copy) NSString * uploadImage;
@property(nonatomic,copy) NSString * bindEmail;
@property(nonatomic,copy) NSString * bindPhone;
@property(nonatomic,copy) NSString * sendBindEmailCode;
@property(nonatomic,copy) NSString * sendBindPhoneCode;
@property(nonatomic,copy) NSString * modifyPassword;
@property(nonatomic,copy) NSString * bindConfirm;

//地址管理
@property(nonatomic,copy) NSString * address;
@property(nonatomic,copy) NSString * addAddress;
@property(nonatomic,copy) NSString * deleteAddress;
@property(nonatomic,copy) NSString * updateAddress;
@property(nonatomic,copy) NSString * infoAddress;

//分类
@property(nonatomic,copy) NSString * classify;

//分类商品列表
@property (nonatomic, copy) NSString * goodsList;
@property (nonatomic, copy) NSString * goodsDetails;
@property (nonatomic, copy) NSString * filter;
//购物车
@property (nonatomic, copy) NSString * addToShopCart;
@property (nonatomic, copy) NSString * viewShopCart;
@property (nonatomic, copy) NSString * updateCart;
@property (nonatomic, copy) NSString * deleteCart;
@property (nonatomic, copy) NSString * goodsCount;
//店铺
@property (nonatomic, copy) NSString *slist;
@property (nonatomic, copy) NSString *storeInfo;
@property (nonatomic, copy) NSString *bannarImg;
@property (nonatomic, copy) NSString *storeList;
@property (nonatomic, copy) NSString *jpStoreList;
@property (nonatomic, copy) NSString *single;
//用户信息
@property(nonatomic,copy)NSString *userInfo;
//收藏的商品
@property (nonatomic, copy) NSString *glist;
//评论
@property (nonatomic, copy) NSString *commentList;
//首页
@property (nonatomic,copy) NSString * homeIMG;
@property (nonatomic, copy) NSString * homeGoods;

@property (nonatomic, copy) NSString * HomeAdPositionId;
//需改个人信息
@property (nonatomic, copy)NSString *updateNickname;
//推荐品牌
@property (nonatomic,copy)NSString *brand;
//实名认证
@property (nonatomic,copy)NSString *certification;

//是否收藏
@property (nonatomic,copy)NSString *isCollection;


//入驻
@property (nonatomic,copy) NSString *Join;
//入驻页面
@property (nonatomic,copy) NSString *JoinIndex;

//取消收藏
@property(nonatomic,copy)NSString *quxiao;

//发送验证码
@property(nonatomic,copy)NSString *sendVerify;

//一键登录
@property(nonatomic,copy)NSString *oneKeyLogin;


//欢迎页
@property(nonatomic,copy)NSString *huanying;

+ (NetWorking *)sharedManager;

-(void)postParameters:(NSDictionary *) parameters type:(NSString *)type progressValue:(void(^)(double)) progress_block success:(void (^)(id)) success_block failure:(void (^)(id)) failure_blcok;

-(void)getParameters:(NSDictionary *) parameters type:(NSString *)type progressValue:(void(^)(double)) progress_block success:(void (^)(id)) success_block failure:(void (^)(id)) failure_blcok;

//上传单个图片
-(void)postParameters:(NSDictionary *)parameters type:(NSString *)type ImageData:(NSData *)imageData Name:(NSString *)name progressValue:(void (^)(double)) progress_block success:(void (^)(id))success_block failure:(void (^)(id))failure_blcok;
@end
